Detecting Patterns Can Be Hard: Circuit Lower Bounds for the Pattern Matching Problem
نویسندگان
چکیده
Detecting patterns in strings and images is a fundamental and widely studied problem. Motivated by the proliferation of specialized circuits in pattern recognition tasks, we study the circuit complexity of pattern matching under two popular choices of gates: De Morgan and threshold gates. For strings of length n and patterns of length log n k ≤ n− o(n), we prove super polynomial lower bounds for De Morgan circuits of depth 2, and nearly linear lower bounds for depth 2 threshold circuits. For unbounded depth and k ≥ 2, we prove a linear lower bound for (unbounded fan-in) De Morgan circuits. For certain values of k, we prove a Ω( √ n/ log n) lower bound for general threshold circuits and a nearly linear lower bound for depth 2 threshold circuits. Our proof for threshold circuits builds on a curious connection between detecting patterns and evaluating Boolean functions when the truth table of the function is given explicitly. Finally, we provide upper bounds on the size of circuits that solve the pattern matching problem. ∗Yahoo Research. Email: [email protected] †Department of Electrical Engineering and Computer Science, UC Berkeley. Email: [email protected] ‡Department of Electrical Engineering and Computer Science, UC Berkeley. Email: [email protected]
منابع مشابه
Detecting Patterns Can Be Hard: Circuit Lower Bounds for the String Matching Problem
Detecting patterns in strings and images is a fundamental and well studied problem. We study the circuit complexity of the string matching problem under two popular choices of gates: De Morgan and threshold gates. For strings of length n and patterns of length log n k ≤ n− o(n), we prove super polynomial lower bounds for De Morgan circuits of depth 2, and nearly linear lower bounds for depth 2 ...
متن کاملTest Power Reduction by Simultaneous Don’t Care Filling and Ordering of Test Patterns Considering Pattern Dependency
Estimating and minimizing the maximum power dissipation during testing is an important task in VLSI circuit realization since the power value affects the reliability of the circuits. Therefore during testing a methodology should be adopted to minimize power consumption. Test patterns generated with –D 1 option of ATALANTA contains don’t care bits (x bits). By suitable filling of don’t cares can...
متن کاملAdaptive Pattern Matching
Pattern matching is an important operation used in many applications such as functional programming, rewriting and rule-based expert systems. By preprocessing the patterns into a DFA-like automaton, we can rapidly select the matching pattern(s) in a single scan of the relevant portions of the input term. This automaton is typically based on left-to-right traversal (of the patterns) or its varia...
متن کامل18.405J S16 Lecture 22: Derandomization Implies Circuit Lower Bounds
Q: Why are we using circuit lower bounds here, as opposed to a claim such as E ̸⊆ P for example? A: The proof of the Nisan-Wigderson pseudorandom generator relies on nonuniformity, by showing that distinguishing a pseudorandom generator implies a circuit for solving a hard problem – this reduction involves hardwiring advice into a circuit in order to solve the hard problem. A contradiction requi...
متن کاملThe Pattern Basis Approach to Circuit Complexity
We describe and motivate a proposed new approach to the problem of finding a “complexity formula” which lower-bounds the circuit complexity (over circuits in a given class) of an arbitrary boolean function, given its truth table, and which can be used to prove nontrivial lower bounds on the complexity of specific functions of interest. This requires addressing the “natural proofs barrier” [Razb...
متن کامل